package com.baosight.risk.service.riri.entity;

import com.baosight.risk.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

import lombok.Data;

/**
 * Table: T_RIRI_DUTY_COMP
 */
@Data
@ApiModel
@Table(name = "T_RIRI_DUTY_COMP")
public class RiriDutyComp extends BaseEntity {

    /**
     * 业务类型（如重点实施方案的主责单位）
     * <p>
     * Table:     T_RIRI_DUTY_COMP
     * Column:    BIZ_TYPE
     * Nullable:  true
     */
    @ApiModelProperty("业务类型（如重点实施方案的主责单位）")
    @Column(name = "BIZ_TYPE")
    private String bizType;

    /**
     * 业务类型说明
     * <p>
     * Table:     T_RIRI_DUTY_COMP
     * Column:    BIZ_TYPE_NAME
     * Nullable:  true
     */
    @ApiModelProperty("业务类型说明")
    @Column(name = "BIZ_TYPE_NAME")
    private String bizTypeName;

    /**
     * 业务ID
     * <p>
     * Table:     T_RIRI_DUTY_COMP
     * Column:    BIZ_GUID
     * Nullable:  true
     */
    @ApiModelProperty("业务ID")
    @Column(name = "BIZ_GUID")
    private String bizGuid;

    /**
     * 责任单位
     * <p>
     * Table:     T_RIRI_DUTY_COMP
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @ApiModelProperty("责任单位")
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 责任单位名称
     * <p>
     * Table:     T_RIRI_DUTY_COMP
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @ApiModelProperty("责任单位名称")
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 排序
     * <p>
     * Table:     T_RIRI_DUTY_COMP
     * Column:    ROW_ORDER
     * Nullable:  true
     */
    @ApiModelProperty("排序")
    @Column(name = "ROW_ORDER")
//    private String rowOrder;

    private  Integer rowOrder;
}